<?php 
function help_html_select($array)
{
    $str = "<select>";
    foreach ((array)$array as $k => $row)
    {
        $str .= '<option value="'.$k.'">'.$row.'</option>';
    }
    $str .= "</select>";
    
    return $str;
}
?>